package com.ipartek.desarrollo.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Anios")
public class Anios {

	private int anyo;

	public Anios() {
		super();
	}

	public Anios(int anyo) {
		super();
		this.anyo = anyo;
	}

	@Id
	@Column(name = "Anyo")
	public int getAnyo() {
		return anyo;
	}

	public void setAnyo(int anyo) {
		this.anyo = anyo;
	}

}
